﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InterviewResults.aspx.cs"
    Inherits="BOH.AccreditationSystem.InterviewResults" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>

</head>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
        当前位置:<a href="OverView.aspx" target="frameControl">面试结果管理</a> >>面试结果
    </div>
    <div id="bodyDiv">
        <div id="divSearch">
            <center>
                <table width="98%" class="Grid">
                    <tr>
                        <td align="right" style="width: 120px;">
                            评审系列:
                        </td>
                        <td align="left" width="180px">
                            <asp:DropDownList ID="drpApplyStyle" runat="server" >
                            </asp:DropDownList>
                        </td>
                        <td align="right" style="width: 120px;">
                            面试通过:
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpPass" runat="server">
                                <asp:ListItem Value="-1" Text="请选择"></asp:ListItem>
                                <asp:ListItem Value="Y" Text="通过"></asp:ListItem>
                                <asp:ListItem Value="N" Text="未通过"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 120px;">
                            申报姓名:
                        </td>
                        <td align="left" colspan="3">
                            <asp:TextBox ID="txtApplyName" runat="server" Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </center>
            <p>
                &nbsp;&nbsp;<asp:Button ID="butSearch" runat="server" Text="查 询" OnClick="butSearch_Click" />
            </p>
        </div>
        <div id="divGrid">
            <asp:GridView ID="InterviewResultsList" runat="server" AutoGenerateColumns="False"
                Width="90%" CssClass="Grid" AllowPaging="True" PageSize="15">
                <PagerSettings Mode="NumericFirstLast" />
                <Columns>
                    <asp:TemplateField HeaderText="姓 名">
                        <HeaderStyle HorizontalAlign="Left" />
                        <ItemStyle Width="60px" VerticalAlign="Top" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labQuestionSpecialty" runat="server" Text='<%#Eval("Apply_Name") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="学科专业">
                        <HeaderStyle HorizontalAlign="Left" />
                        <ItemStyle Width="120px" VerticalAlign="Top" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labQuestionSpecialty" runat="server" Text='<%#Eval("SpecialityID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="学科组" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="80px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labSubjectID" runat="server" Text='<%#Eval("SubjectID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="主管局" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="80px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labGovernID" runat="server" Text='<%#Eval("GovernID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="工作单位" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="200px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labUnitID" runat="server" Text='<%#Eval("UnitID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="应到" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="30px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labTotalNumber" runat="server" Text='<%#Eval("TotalNumber") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="实到" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="30px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labActualNumber" runat="server" Text='<%#Eval("ActualNumber") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="赞成" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="30px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labAgreeNumber" runat="server" Text='<%#Eval("AgreeNumber") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="反对" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="30px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labDenyNumber" runat="server" Text='<%#Eval("DenyNumber") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="弃权" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="30px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labAbstrainNumber" runat="server" Text='<%#Eval("AbstrainNumber") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="通过" HeaderStyle-HorizontalAlign="Left">
                        <ItemStyle Width="50px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:Label ID="labAbstrainNumber" runat="server" Text='<%#Eval("PassInd") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
